export default function FancyText({ title, text }: { title?: string, text: string }) {
    return title ?
        <h1 className="fancy title" style={{ fontStyle: 'italic' }}>{text}</h1> :
        <h3 className="fancy cursive" style={{ fontStyle: 'oblique' }}>{text}</h3>
}